package com.dense.kuiniu.bookborrow.base;

import com.dense.kuiniu.bookborrow.R;
import com.dense.kuiniu.bookborrow.business.home.HomeDelegate;

/**
 * @author Administrator
 * @date 2020/8/6
 */
public class RootDelegate extends BaseFragment {
    public static RootDelegate newInstance() {
        return new RootDelegate();
    }

    @Override
    protected int getLayoutRes() {
        return R.layout.delegate_root;
    }

    @Override
    protected void init() {
        HomeDelegate delegate = HomeDelegate.getInstance();
        loadRootFragment(R.id.view_content, delegate);
    }
}
